@import '../../variables.less';

.createModal {
	.step {
		transition: opacity ease-in-out 0.5s;
		.selectContainer {
			display: flex;
			width: 450px;
			height: 400px;
			margin-bottom: 10px;
		}
		.btns {
			display: flex;
			justify-content: center;
			align-items: center;
			button {
				height: 32px;
				width: 68px;
				font-size: 12px;
			}
		}
	}
	.step0 {
		display: block;
		.selectContainer {
			.friendList {
				width: 225px;
				border: @primary-border_bg-color 0.2px solid;
				border-top: none;
				// :global {
				// 	.ant-tree-checkbox {
				// 		margin-block-start: 0;
				// 	}
				// }
				.nodeContent {
					display: flex;
					align-items: center;
					justify-content: space-between;
					padding-right: 10px;
					img {
						width: 35px;
						height: 35px;
						margin-right: 20px;
					}
					span {
						font-size: 15px;
						color: @font-color;
						overflow: hidden;
						white-space: nowrap;
					}
				}
			}
			.selectList {
				width: 225px;
				border: @primary-border_bg-color 0.2px solid;
				border-top: none;
				.friendInfo {
					display: flex;
					border-bottom: 0.5px solid @primary-border_bg-color;
					.avatar {
						width: 50px;
						height: 50px;
						img {
							width: 40px;
							height: 40px;
							margin: 5px;
						}
					}
					.username {
						display: flex;
						width: 150px;
						align-items: center;
						margin-left: 20px;
						font-size: 20px;
						white-space: nowrap;
						overflow-x: scroll;
					}
					.username::-webkit-scrollbar {
						display: none;
					}
				}
			}
			.title {
				width: 100%;
				height: 40px;
				line-height: 40px;
				text-align: center;
				font-size: 14px;
				color: @font-color-light;
				background-color: #f3f3f3;
			}
			.list {
				width: 100%;
				height: 360px;
				overflow: scroll;
			}
			.list::-webkit-scrollbar {
				width: 1px;
			}
			.list::-webkit-scrollbar-thumb {
				border-radius: 5px;
				background-color: transparent;
			}
			.list:hover::-webkit-scrollbar-thumb {
				background-color: @scrollbar-thumb-color;
			}
		}
		button {
			margin-left: auto;
		}
	}
	.step1 {
		display: none;
		button {
			margin: auto;
		}
		.selectContainer {
			// :global {
			// 	.ant-form-item {
			// 		margin-bottom: 50px;
			// 		.ant-form-item-label {
			// 			margin-right: 20px;
			// 		}
			// 		.ant-form-item-control {
			// 			width: 400px;
			// 		}
			// 	}
			// 	.ant-form-item:nth-child(3) {
			// 		margin-left: 10px;
			// 	}
			// }
		}
	}
}
